TenWebOptimizer\OptimizerStyles D

Total Complexity 270
Dependencies 4
Dependents 1
Total lines 1,299
Lines of code 904
Logical lines of code 621
Comment lines 239
Methods 31
Properties 34

Methods 31

Method Rating Maintainability Complexity Lines of code
read()
D
18
65 207
optimize()
D
27
36 141
injectCriticalCss()
C
39 25 57
is_async()
B
41 24 54
getcontent()
A
37 13 75
fixurls()
A
41 12 53
rewrite_assets()
A
46 10 36
build_or_get_datauri_image()
A
46 8 38
ismovable()
A
54 9 22
get_replace_GoogleFonts()
A
53 8 21
can_inject_late()
S
58 8 14
is_datauri_candidate()
S
60 7 12
check_datauri_exclude_list()
S
56 5 18
replace_urls()
S
57 5 15
minify_single()
S
55 4 18
hide_fontface_and_maybe_cdn()
S
58 4 15
run_minifier_on()
S
60 4 14
css_snippetcacher()
S
56 3 18
cache()
S
62 3 10
is_disable()
S
67 3 8
optimizeInlineStyle()
S
60 2 13
replace_longest_matches_first()
S
66 2 8
get_datauri_maxsize()
S
70 2 7
restore_fontface()
S
79 1 3
get_ao_css_preload_polyfill()
S
77 1 4
aggregating()
S
82 1 3
getOptions()
S
82 1 3
replaceOptions()
S
81 1 3
setOption()
S
76 1 4
getOption()
S
80 1 3
__construct()
S
69 1 7